package com.j2bugzilla.base;

public class UserInfo {

	private final Integer id;
	private final String realName;
	private final String email;
	private final String name;
	private final Object[] groups;

	public UserInfo(Integer id, String realName, String email,
			String name, Object[] groups) {
		this.id = id;
		this.realName = realName;
		this.email = email;
		this.name = name;
		this.groups = groups;
	}

	public Integer getId() {
		return id;
	}

	public String getRealName() {
		return realName;
	}

	public String getEmail() {
		return email;
	}

	public String getName() {
		return name;
	}

	public Object[] getGroups() {
		return groups;
	}

}
